package com.tope.myBatis.model;

import java.util.Date;

public class TravleStaff {
    private Long id;

    private Long birthyear;

    private String staffname;

    private Integer gender;

    private Long totalmiles;

    private Long totalhours;

    private Integer isvalid;

    private Date createtime;

    private Date updatetime;

    private String remarks;

    public TravleStaff(Long id, Long birthyear, String staffname, Integer gender, Long totalmiles, Long totalhours, Integer isvalid, Date createtime, Date updatetime, String remarks) {
        this.id = id;
        this.birthyear = birthyear;
        this.staffname = staffname;
        this.gender = gender;
        this.totalmiles = totalmiles;
        this.totalhours = totalhours;
        this.isvalid = isvalid;
        this.createtime = createtime;
        this.updatetime = updatetime;
        this.remarks = remarks;
    }

    public TravleStaff() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBirthyear() {
        return birthyear;
    }

    public void setBirthyear(Long birthyear) {
        this.birthyear = birthyear;
    }

    public String getStaffname() {
        return staffname;
    }

    public void setStaffname(String staffname) {
        this.staffname = staffname == null ? null : staffname.trim();
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Long getTotalmiles() {
        return totalmiles;
    }

    public void setTotalmiles(Long totalmiles) {
        this.totalmiles = totalmiles;
    }

    public Long getTotalhours() {
        return totalhours;
    }

    public void setTotalhours(Long totalhours) {
        this.totalhours = totalhours;
    }

    public Integer getIsvalid() {
        return isvalid;
    }

    public void setIsvalid(Integer isvalid) {
        this.isvalid = isvalid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }
}